DOpus (61/95)

From:Neil Bothwick
Date:11 Sep 2001 at 08:31:44
Subject:Re: [D5] SCopy and Magellan

Dariusz Gac said,

> If I make a menu/button using Scopy AmigaDOS command to copy folders
> and files with-in then only all files are copied to destination lister
> but not folders' name.
>
> But if I make the same from CLI window as AmigaDOS command then folders'
> names and files with-in are copied properly.

> C:SCopy FROM {F} TO {d} ALL WINDOW CLONE

Could it be that Opus is adding the trailing slash to the path and this
is causing SCopy to act differently? The first thing to check is that
DOpus is executing exactly the same command as you are in the shell.

Select "Output to window" and "Window close button" in the function
definition, to prevent it completing before you want it to
(alternatively add AmigaDOS: Wait 60"), and check the temporary script
that Opus creates in T:. Is Opus executing exactly the command you want
it to?

> Flag: Recursive dirs on

Do you need this? Surely SCopy is only expecting the name of the source
directory, not all the paths beneath it as well.

Cheers

Neil



Neil Bothwick - New Media Editor, Amiga Active Magazine

Obscenity is the crutch of inarticulate motherfuckers.



Email majordomo@lss.com.au with 'help' in the body for help.
Members posting binaries to the mailing list will be removed!